.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #1a1a1a; /* 导航栏背景色 */
  padding: 10px 20px;
  color: white;
}

.navbar-logo {
  display: flex;
  align-items: center;
}

.navbar-logo img {
  height: 40px; /* 调整 logo 高度 */
}

.navbar-links {
  display: flex;
  gap: 50px; /* 链接之间的间距 */
}

.navbar-links a,
.navbar-links span {
  color: white;
  text-decoration: none;
  font-size: 16px;
  transition: color 0.3s;
}

.navbar-links a:hover,
.navbar-links span:hover {
  color: #ff6a00; /* 鼠标悬停时的颜色 */
}

.navbar-links .active-link {
  color: #ff6a00; /* 高亮显示的颜色 */
  font-weight: bold;
}

.navbar-user {
  display: flex;
  align-items: center;
  gap: 10px; /* 用户区域的间距 */
}

.navbar-user a {
  color: white;
  text-decoration: none;
  font-size: 16px;
}

.navbar-user a:hover {
  color: #ff6a00; /* 鼠标悬停时的颜色 */
}

.navbar-user span {
  color: white;
  text-decoration: none;
  font-size: 16px;
}

.navbar-user span:hover {
  color: #ff6a00; /* 鼠标悬停时的颜色 */
}

.user-avatar {
  height: 32px;
  width: 32px;
  border-radius: 50%;
  background-color: #ccc; /* 默认头像背景色 */
}

.ant-dropdown-menu {
  background-color: #333; /* 下拉菜单背景色 */
}

.ant-dropdown-menu-item a {
  color: white;
}

.ant-dropdown-menu-item a:hover {
  color: #ff6a00; /* 下拉菜单悬停颜色 */
}
